package com.xinyi.shicihui.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xinyi
 * @desc
 * @date 2022/1/23
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class PoetResponseDto {

    private int code;
    private String message;
    private DataBean data;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class DataBean {
        private int skip;
        private int total;
        private int totalPage;
        private int page;
        private int size;
        private Object maxPageNum;
        private List<ItemsBean> items;

        @NoArgsConstructor
        @AllArgsConstructor
        @Data
        public static class ItemsBean {
            private String id;
            private String title;
            private String content;
            private String authorId;
            private String author;
            private String dynastyId;
            private String dynasty;
            private String tags;
        }
    }
}
